package com.future.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Auther: 田坑坑
 * @Date: 2022/6/20 14:01
 * @Description:  我题序等你回
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "repair")
public class Repair {
    @TableId(value = "repairId", type = IdType.AUTO)
    private Integer repairid;

    @TableField(value = "repairStorey")
    private String repairstorey;

    @TableField(value = "repairRoom")
    private String repairroom;

    @TableField(value = "repairContent")
    private String repaircontent;


    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @TableField(value = "repairDate")
    private Date repairdate;

    @TableField(value = "repairRoomManagerId")
    private Integer repairroommanagerid;

    @TableField(value = "repairStatus")
    private String repairstatus;

    @TableField(value = "repairCreatePeople")
    private String repaircreatepeople;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @TableField(value = "repairCreateTime")
    private Date repaircreatetime;

    @TableField(value = "repairChecker")
    private String repairchecker;

    @TableField(value = "repairedMessage")
    private String repairedmessage;


    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @TableField(value = "repaireTime")
    private Date repairetime;

    public static final String COL_REPAIRID = "repairId";

    public static final String COL_REPAIRSTOREY = "repairStorey";

    public static final String COL_REPAIRROOM = "repairRoom";

    public static final String COL_REPAIRCONTENT = "repairContent";

    public static final String COL_REPAIRDATE = "repairDate";

    public static final String COL_REPAIRROOMMANAGERID = "repairRoomManagerId";

    public static final String COL_REPAIRSTATUS = "repairStatus";

    public static final String COL_REPAIRCREATEPEOPLE = "repairCreatePeople";

    public static final String COL_REPAIRCREATETIME = "repairCreateTime";

    public static final String COL_REPAIRCHECKER = "repairChecker";

    public static final String COL_REPAIREDMESSAGE = "repairedMessage";

    public static final String COL_REPAIRETIME = "repaireTime";
}